package com.sunq.studio.sys.service.impl;

import com.sunq.studio.sys.dao.TbSysParamsDao;
import com.sunq.studio.sys.domain.TbSysParams;
import com.sunq.studio.sys.service.SysParamService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by sunq on 2019/7/26.
 */
@Service
public class SysParamServiceImpl  implements SysParamService{

    Logger logger= LoggerFactory.getLogger(SysParamServiceImpl.class);

    @Autowired
    TbSysParamsDao  tbSysParamsDao;

    @Override
    public List<TbSysParams> getParamsByType(String type) {

        List<TbSysParams> res=tbSysParamsDao.selectByType("wlan");

        return res;
    }
}
